package lcy.homework05.lambdaTest;

import java.util.Date;

/**
 * @ClassName: Athlete
 * @Description:
 * @author: 李春洋
 * @date: 2024/4/18 16:30
 * @Blog: https://
 */
public class Athlete extends Person {
    private String event;

    public Athlete(String name, String identityNo, Date birthDay, String event) {
        super(name, identityNo, birthDay);
        this.event = event;
    }

    public String getEvent() {
        return event;
    }

    @Override
    public String toString() {
        return super.toString() + "[event=" + event + "]";
    }

}
